package com.ruoyi.major.service;

import com.ruoyi.major.domain.Major;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IMajorService {
    Major selectMajorById(Long id);

    List<Major> selectMajorList();

    int insertMajor(Major major);

    int updateMajor(Major major);

    int deleteMajorByIds(Long[] ids);
}
